# -*- coding: utf-8 -*-
#
# @Time    ： 2021/5/22  16:33
# @Auther  ： 徐良
# File     :  about_Panel.py

# -*- coding: utf-8 -*-
#
# @Time    ： 2021/5/22  8:24
# @Auther  ： 徐良
# File     :  mysql_panel.py

from PySide6.QtWidgets import QDialog, QApplication
from PySide6.QtCore import Qt, Slot
from basePanel.ui.about import Ui_dialog



class AboutPanel(QDialog, Ui_dialog):

    def __init__(self, parent=None, *args, **kwargs):
        super().__init__(parent, *args, **kwargs)
        self.setAttribute(Qt.WA_StyledBackground)
        self.setupUi(self)

    @Slot()
    def on_btn_aboutClose_clicked(self):
        self.close()


if __name__ == '__main__':
    import sys

    app = QApplication(sys.argv)
    window = AboutPanel()
    window.show()
    sys.exit(app.exec())
